package cn.iocoder.yudao.module.book.controller.admin.homeworks.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 作业 Response VO")
@Data
@ExcelIgnoreUnannotated
public class HomeworksRespVO {

    @Schema(description = "作业id", requiredMode = Schema.RequiredMode.REQUIRED, example = "10022")
    @ExcelProperty("作业id")
    private Integer homeworkId;

    @Schema(description = "班级id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1871")
    @ExcelProperty("班级id")
    private Integer classesId;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("标题")
    private String title;

    @Schema(description = "日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("日期")
    private LocalDate date;

    @Schema(description = "作业要求", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("作业要求")
    private String requirement;

    @Schema(description = "作业内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "你说的对")
    @ExcelProperty("作业内容")
    private String description;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}